package base.day19.array;

import java.util.ArrayList;
import java.util.Arrays;

public class Array1 {
    public static void main(String[] args) {
        int[] array={1,2,3,4,5};
        String[] str={"a","b","c"};
        System.out.println(Arrays.toString(array));
        System.out.println(Arrays.toString(str));

        ArrayList<String> list=new ArrayList<>();
        list.add("a");
        list.add("b");
        list.add("c");
        System.out.println(list);

        ArrayList<Integer> list1=new ArrayList<>();
        list1.add(1);
        list1.add(2);
        list1.add(3);
        System.out.println(list1);
    }
}
